﻿using System;
using GBlason.ViewModel.Contract;

namespace GBlason.ViewModel.General
{
    public class SpecialCoAEffectViewModel : CoatOfArmComponent
    {
        private static SpecialCoAEffectViewModel _instance;
        public static SpecialCoAEffectViewModel Instance
        {
            get
            {
                if (_instance == null) return _instance = new SpecialCoAEffectViewModel();
                return _instance;
            }
        }

        public override object OriginObject
        {
            get { throw new NotImplementedException(); }
            set { throw new NotImplementedException(); }
        }

        private String _geometry;
        public override string Geometry
        {
            get { return _geometry; }
            set
            {
                if (_geometry == value) return;
                _geometry = value;
                OnPropertyChanged("Geometry");
            }
        }

        public override void UpdateShapeFromParent()
        {
            //the geometryy is bound to the source anyway, so no special action here
        }
    }
}
